package chapter05;import java.util.Objects;public class Manager extends Employee{    private  double bonus;    public double getBonus() {        return bonus;    }    public void setBonus(double bonus) {        this.bonus = bonus;    }    public Manager(){}    public Manager(String name, int age, double salary, double bonus) {        super(name, age, salary);        this.bonus = bonus;    }    public Manager(double bonus) {        this.bonus = bonus;    }    @Override    public double getSalary() {        return super.getSalary() + bonus;    }    @Override    public String toString() {        return "Manager{" +                "bonus=" + bonus +                ",name=" + super.getName() +                ",age=" + super.getAge() +                ",salary=" + getSalary() +                "} " ;    }//    public boolean equals(Object o)//    {//        return super.equals(o);//    }}